package cn.yx.common.core.constant.message.enums;

import cn.yx.common.core.annotation.message.English;
import cn.yx.common.core.annotation.message.I18nMessage;
import cn.yx.common.core.annotation.message.SimplifiedChinese;

/**
 * <p>ResponseCode消息Key常量</p>
 *
 * @author Wgssmart
 */
@I18nMessage
public final class ResponseCodeMessageKey {

    private ResponseCodeMessageKey() {
    }

    @SimplifiedChinese("成功")
    @English("Success")
    public static final String SUCCESS = "cn.yx.common.core.success";

    @SimplifiedChinese("失败")
    @English("Fail")
    public static final String FAIL = "cn.yx.common.core.fail";

    @SimplifiedChinese("参数错误")
    @English("Data error")
    public static final String DATA_ERROR = "cn.yx.common.core.dataError";

    @SimplifiedChinese("服务异常")
    @English("Service error")
    public static final String SERVICE_ERROR = "cn.yx.common.core.serviceError";

    @SimplifiedChinese("认证失败")
    @English("Authentication error")
    public static final String AUTHENTICATION_ERROR = "cn.yx.common.security.authenticationError";

    @SimplifiedChinese("授权失败")
    @English("Authorization error")
    public static final String AUTHORIZATION_ERROR = "cn.yx.common.security.authorizationError";

}